package com.mason.parser;

import com.mason.EnableOperationLog;
import com.mason.model.OperationLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Map;

/**

 * @author yunfei.shang
 * @title 解析接口
 * @date 2018/05/24 11:19
 * @descreption
 */

public interface IContentParser {

    Logger logger = LoggerFactory.getLogger(IContentParser.class);

    /**
     * 获取信息返回查询出的对象
     * @param fieldValues 查询条件的参数值
     * @param enableOperationLog 注解
     * @return
     */
    Object getResult(Map<String, Object> fieldValues, EnableOperationLog enableOperationLog, OperationLog operationLog);
}

